home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1599 / 1447 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.9 KB

  1. Subject: Re: So many cookies
  2. Date: Tue, 24 May 1994 09:20:01 -0400 (EDT)
  3. From: Chris Herborth <herborth@53iss6.waterloo.ncr.com>
  4. In-Reply-To: <199405201944.PAA22036@terminator.rs.itd.umich.edu> from "C.P.Briscoe-Smith" at May 17, 94 12:26:41 pm
  5. Message-Id:  <9405240922.af13377@ncrhub1.NCR.COM>
  6.  
  7. What you wrote:
  8. > So, if Supexec() is to become root-only, how do you now find out whether
  9. > you're running under MiNT?  I guess you try to Supexec() first, and look
  10. > for the cookie, and if Supexec() doesn't work, assume you're running
  11. > under a secure MiNT.  Or maybe the kernel should place some value into
  12. > the process's basepage to tell it that it should expect to be unable to
  13. > switch to supervisor mode...  Alternatively, there was the suggestion
  14. > some time ago of a new executable binary type, which would support TOS-
  15. > incompatible features...
  16. > This looks to me as if it could be a problem.
  17.  
  18. If you're using the MiNTlibs, extern long __mint will be set to the
  19. MiNT version (ex, 0x0000010a for MiNT 1.10) if MiNT is present, 0 otherwise.
  20.  
  21. The details of how MiNTlibs figures this out are, of course, where the
  22. difficulty will occur, but from a program's point of view, there's no
  23. problem.  The libs just have to be changed.
  24.  
  25. > compatibility.  I suppose the unix domain would be the 'ultimate' in
  26. > this: a unix-compatible environment, running concurrently with a TOS-
  27. > compatible environment.  (Btw, isn't this very similar to what Microsoft
  28. > has done with Windows NT?)
  29.  
  30. Not really.  Both NT and OS/2 run their DOS/Windows as a process within
  31. the native NT or OS/2 environment... ie, it's not really a separate
  32. environment, it's just a program.  NT's "POSIX" sub-system probably works
  33. the same way.
  34.  
  35. -- 
  36. ----------========================_   /\ ============================----------
  37. Chris Herborth                    \`o.0'       herborth@53iss6.Waterloo.NCR.COM
  38. Information Products Developer    =(___)=
  39. AT&T Global Information Solutions    U
  40.